package com.wondertek.poms.search.service.impl;

import com.wondertek.poms.dao.po.es.BcHistoryVo;
import com.wondertek.poms.dao.repo.es.IBcHistoryVoDao;
import com.wondertek.poms.search.service.IBcHistoryVoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Date;
import java.util.List;

/**
 * @author chenjijiang
 * @description
 */
@Service
public class BcHistoryVoServiceImpl implements IBcHistoryVoService {
	@Autowired
	private IBcHistoryVoDao iBcHistoryVoDao;

	@Override
	public Long getCount(String prdConId, String conId, String bcSide, Date bcStartTime, Date bcEndTime, String bcStatus, String userId, String firstType, String prdInfoId) {
		return iBcHistoryVoDao.getCount(prdConId, conId, bcSide, bcStartTime, bcEndTime, bcStatus, userId, firstType, prdInfoId);
	}

	@Override
	public List<BcHistoryVo> getBcsPage(int start, int limit, String prdConId, String conId, String bcSide, Date bcStartTime, Date bcEndTime, String bcStatus, String userId, String firstType, String prdInfoId) {
		return iBcHistoryVoDao.getBcsPage(start, limit, prdConId, conId, bcSide, bcStartTime, bcEndTime, bcStatus, userId, firstType, prdInfoId);
	}
}
